import  request from "@/utils/request"

let prefix='/mall/product'

//获取商品详情
export const getProductDetail=(id)=>request({
    method:'get',
    url:`${prefix}/detail/${id}`
})


//获取优惠卷
export const getCouponList=(params)=>request({
    method:'get',
    url:`/mall/coupon/couponList`,
    params
})